package ${packageName}.${module};

<#-- Java 实体模板 -->
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
<#if table.hasTime>
import java.sql.Time;
</#if>
<#if table.hasDateTime>
import java.util.Date;
</#if>
<#if table.hasBigDecimal>
import java.math.BigDecimal;
</#if>

import lombok.Data;
/**
 *
 * ${table.comment} 实体类
 * @author ${remark.author}
 * @date ${remark.date}
 */
@TableName(value = "${table.tableName}")
@Data
public class ${table.beanName} implements Serializable {

    <#-- 序列化 -->
    private static final long serialVersionUID = 1L;

<#-- 循环生成字段 ---------->
<#list table.fieldList as field>
    <#if field.comment!?length gt 0>
    /**
     * ${field.comment}
     */
    </#if>
    private ${field.javaType} ${field.propertyName};

</#list>
}
